package cn.iocoder.yudao.module.robot.controller.admin.callrecordbills.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 机器人通话详情新增/修改 Request VO")
@Data
public class CallRecordBillsSaveReqVO {

    @Schema(description = "pk", requiredMode = Schema.RequiredMode.REQUIRED, example = "1754")
    private Long id;

    @Schema(description = "通话记录id", requiredMode = Schema.RequiredMode.REQUIRED, example = "15979")
    @NotNull(message = "通话记录id不能为空")
    private Long callRecordId;

    @Schema(description = "消息文本", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "消息文本不能为空")
    private String message;

    @Schema(description = "消息录音", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "消息录音不能为空")
    private String path;

    @Schema(description = "消息角色0机器人 1客户", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "消息角色0机器人 1客户不能为空")
    private Integer role;

    @Schema(description = "命中关键字", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "命中关键字不能为空")
    private String hitKeyword;

    @Schema(description = "通话时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "通话时间不能为空")
    private LocalDateTime dialTime;

}